﻿using shenghua.Common.CustomValueType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Member.XP.Median
{
    /// <summary>
    /// 积分规则
    /// </summary>
    public class XPRule
    {
        /// <summary>
        /// 积分值等价的金额
        /// </summary>
        public Money XPAmount { get; private set; }

        /// <summary>
        /// 积分值
        /// </summary>
        public int XPValue { get; private set; }

        public XPRule(Money amount, int xpValue)
        {
            XPAmount = amount;
            XPValue = xpValue;
        }
    }
}
